using System;
using System.Collections.Generic;
using System.Text;

namespace SharpScratch
{
    public class Something : ISomething
    {
        private SomethingElse _From;
        private String _Holds;

        public String Holds
        {
            get
            {
                return _Holds;
            }
            set
            {
                _Holds = value;
            }
        }

        public SomethingElse From
        {
            get
            {
                if (_From == null)
                    _From = new SomethingElse();
                this.ListenToMe();
                return _From;
            }
            set
            {
                _From = value;
            }
        }

        public delegate void ListenToMeHandler();
        public event ListenToMeHandler ListenToMe;
    }
}
